<!--# layout("/common/layout.html",{"jsBase":"/js/cms/message/"}){ -->

<form class="layui-form " id="updateForm">
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">企业id</label>
				<div class="layui-input-inline">
					<input type="text" id="companyId" name="companyId"  value="${message.companyId}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">个人id</label>
				<div class="layui-input-inline">
					<input type="text" id="userId" name="userId"  value="${message.userId}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">内容</label>
				<div class="layui-input-inline">
					<input type="text" id="content" name="content"  value="${message.content}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">业务类型</label>
				<div class="layui-input-inline">
					<input type="text" id="type" name="type"  value="${message.type}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">接收状态：0接收，-1没接收</label>
				<div class="layui-input-inline">
					<input type="text" id="status" name="status"  value="${message.status}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">生成消息时间</label>
				<div class="layui-input-inline">
					<input type="text" id="createDate" name="createDate"  value="${message.createDate,"yyyy-MM-dd"}"   class="layui-input input-date" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">接收时间</label>
				<div class="layui-input-inline">
					<input type="text" id="readDate" name="readDate"  value="${message.readDate,"yyyy-MM-dd"}"   class="layui-input input-date" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">备注</label>
				<div class="layui-input-inline">
					<input type="text" id="note" name="note"  value="${message.note}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
        </div>
    </div>
	<!-- 业务对象须有hidden字段，保存delFlag和version字段-->
	<input type="hidden" name="delFlag" value=${message.delFlag} />
    <input type="hidden" name="id" value=${message.id} />
    <layui:submitButtons id="updateButton" />
</form>
<!--#} -->
<script>
layui.use(['edit'], function(){
    var messageEdit = layui.edit
    messageEdit.init();
});
</script>
